<?php if (!defined('THINK_PATH')) exit();?><div class="bjui-pageHeader">
    <div class="pull-right">
        <button class="btn-default" data-icon="refresh" onclick="$.CurrentNavtab.navtab('refresh')"></button>
    </div>
</div>
<div class="bjui-pageContent">
    <form action="<?php echo U('save_sms');?>" data-toggle="validate" data-alertmsg="false" class="navtabForm">
        <div class="form-group">
            <label class="x100">appkey:</label>
            <input type="text" name="appkey" data-rule="required" value="<?php echo ($va["appkey"]); ?>"/>
        </div>
        <div class="form-group">
            <label class="x100">secretKey:</label>
            <input type="text" name="secretKey" data-rule="required" value="<?php echo ($va["secretKey"]); ?>"/>
        </div>
       <!--  <div class="form-group">
            <label class="x100">公司名:</label>
            <input type="text" name="web_company" data-rule="required" />
        </div> -->
        <div class="form-group">
            <label class="x100">短信模板ID:</label>
            <input type="text" name="message_id" data-rule="required" value="<?php echo ($va["message_id"]); ?>"/>
        </div>
        <!-- <div class="form-group">
            <label class="x100">注册启用短信:</label>
            <input type="radio" name="status" data-toggle="icheck" data-label="开启"  checked  />
            <input type="radio" name="status" data-toggle="icheck" data-label="关闭"   />
        </div> -->
        <div class="form-group">
            <label class="x100">短信码超时时间:</label>
            <input type="text" name="out_time" data-rule="required" value="<?php echo ($va["out_time"]); ?>" />
        </div>
    </form>
</div>

<div class="bjui-pageFooter">
		
	<?php if(save == save): ?><ul>
			<li><button type="submit" class="btn-default" data-icon="save">保存</button></li>
	        <li><button type="button" class="btn-close" data-icon="close">关闭</button></li>
	    </ul>
	<?php elseif(save == close): ?>
	    <ul>
	        <li><button type="button" class="btn-close" data-icon="close">关闭</button></li>
	    </ul>
	<?php elseif(save == page and $show != null): ?>
		<ul>
	        <li><button type="button" class="btn-close" data-icon="close">关闭</button></li>
	    </ul>
		    <div class="pages">
		        <span>每页&nbsp;</span>
		        <div class="selectPagesize">
		            <select data-toggle="selectpicker" data-toggle-change="changepagesize">
		                <option value="<?php echo ($show['listrow']); ?>"><?php echo ($show['listrow']); ?></option>
		                <option value="60">60</option>
		                <option value="120">120</option>
		                <option value="150">150</option>
		            </select>
		        </div>
		        <span>&nbsp;条，共 <?php echo ($show['total']); ?> 条</span>
		    </div>
		    <div class="pagination-box" data-toggle="pagination" data-total="<?php echo ($show['total']); ?>" data-page-size="<?php echo ($show['listrow']); ?>" data-page-current="1">
		    </div>
	<?php elseif(save == page and $show == null): ?>
		<ul>
			<li><button type="button" class="btn-close" data-icon="close">关闭</button></li>
		</ul>
	<?php else: ?>
		<ul>
			<li><button type="button" class="btn-close" data-icon="close">关闭</button></li>
		</ul><?php endif; ?>

</div>